package com.uubx.service;

import com.uubx.exception.CustomerException;
import com.uubx.pojo.User;

import java.util.Map;

/**
 * @Author wyy
 * @Date 2020/12/29 15:56
 * @Version 1.0
 */
public interface UserLoginService {


    /**
     *      登录
     * @param username
     * @param password
     * @return
     */
    public User login(String username, String password)throws CustomerException;

    /**
     * 退出登入
     */

    public void loginOut(String token);






}
